# -*- coding: utf-8 -*-
class StatusCode(object):
	'''状态码'''
	def __init__(self, error='', code='', correct=''):
		self.error = error
		self.code = code
		self.correct = correct

	def code_dict(self):
		'''返回字典'''
		return {'error': self.error, 'code': self.code, 'correct': self.correct}